package com.boco.transnms.server.bo.ibo.traph;

import com.boco.common.util.except.*;

import com.boco.transnms.common.dto.*;
import com.boco.transnms.common.dto.base.*;
import com.boco.transnms.common.dto.traph.*;
import java.util.LinkedHashMap;

/**
 * <p>Title: TransNMS</p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2006</p>
 *
 * <p>Company: Boco Inter-Telecom INC</p>
 *
 * @author not attributable
 * @version 1.0
 */
public interface IMstpTraphAndAttempBO extends ICommonTraphAndAttemoBO{
	Traph addMstpTraphInfo(BoActionContext actionContext, AbstractTraph tmptraphInfo) throws UserException;
    Long isEthernetDeviceUsed(BoActionContext actionContext, String MacCuid, String VcTruckCuid, Long vLineId, String traphCuid, String isDispatch) throws
        UserException;

    public RouteDescBatch getMstpTraphRouteDescArrs(BoActionContext actionContext, AbstractTraph vTraphtmp, String pathRouteIndexs, String macMultiPathIndex,String newPathCuids) throws
        UserException;
    AbstractTraph getMSTPNewRoutesByZjSitesChange(BoActionContext actionContext, String macMultiPathIndex,AbstractTraph oldtmpTraph, String newPathCuids,String routeIndexs,DataObjectList newIndiPoints) throws UserException;
    LinkedHashMap getNewMACPathByZjsitesChange(BoActionContext actionContext, LinkedHashMap oldRoute, String oldPathCuids, String newPathCuids) throws UserException;
    Boolean getMstpPathZjSitesCanChange(String macMultiPathIndex,String pathIndexs,LinkedHashMap oldmPaths,String oldPathCuids, String newPathCuids, String userDistrictCuid, String userLevel);
    Boolean getMstpMacZjSitesCanChange(LinkedHashMap oldmPaths,String oldPathCuids, String newPathCuids, String userDistrictCuid, String userLevel);
    public AttempTraph addAttCopyTraphInfo(BoActionContext actionContext,AbstractTraph traphInfo) throws UserException;
    MstpTraph getvTraphInfoByTraph(Traph traph) throws UserException;
    AbstractTraph getAttTraphInfoByDistrict(BoActionContext actionContext,AbstractTraph attTraphInfoA,String userDistrict);
    void submitP2CAttempTraphInfo(BoActionContext actionContext, String attempTraphCuid, String sheetTitle, String usedDateStr) throws Exception;
    AbstractTraph getvattTraphInfoByObjId(Long traphObjectId, String traphCuid, Boolean isCuid, int isRead) throws UserException;
}
